package com.tom.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tom.blog.dao.AuthorityDao;
import com.tom.blog.entity.Authority;
import com.tom.blog.service.AuthorityService;

@Service
public class AuthorityServiceImpl implements AuthorityService {
	
	@Autowired
	private AuthorityDao dao;

	@Override
	public Authority get(Long id) {
		return dao.getOne(id);
	}

}
